package edu.szu.huhanpeng.doodlingFight.interfaces 
{
	
	/**
	 * chessData的friend属性，引用周围的同类棋子。
	 * @author Huhanpeng
	 */
	public interface IChessFriend 
	{
		function reset():void
		//好友的数量
		function get num():int;
		
		//上方同类的引用
		function get up():IChessData;
		function set up(chess:IChessData):void;
		
		//下方同类的引用
		function get down():IChessData;
		function set down(chess:IChessData):void;
		
		//左方同类的引用
		function get left():IChessData;
		function set left(chess:IChessData):void;
		
		//右方同类的引用
		function get right():IChessData;
		function set right(chess:IChessData):void;
		
		//左上方同类的引用
		function get LU():IChessData;
		function set LU(chess:IChessData):void;
		
		//右上方同类的引用
		function get RU():IChessData;
		function set RU(chess:IChessData):void;
		
		//左下方
		function get LD():IChessData;
		function set LD(chess:IChessData):void;
		
		//右下方同类的引用
		function get RD():IChessData;
		function set RD(chess:IChessData):void;
	}
	
}